package gulimall.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import gulimall.to.es.SkuEsModel;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author HLF
 * @date 2022/6/13 16:21
 */
public interface ProductSaveService {
    /**
     * @return 返回true表示上架成功，false表示上架失败
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws JsonProcessingException, Exception;
}
